Skip to content

Conversation

yiyuan-he
Copy link
Contributor

What does this pull request do?

Adds support to customize log group and log stream destinations on OTLP X-Ray endpoint via headers.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yiyuan-he yiyuan-he requested a review from a team as a code owner April 25, 2025 17:24
Copy link
Contributor Author

@yiyuan-he yiyuan-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes may not be necessary if we don't want to support new custom env vars. Since we inherit from upstream's OTLPSpanExporter the following should work out of the box:

export OTEL_EXPORTER_OTLP_TRACES_HEADERS="x-aws-log-group=your-log-group-name,x-aws-log-stream=your-log-stream-name"

@yiyuan-he yiyuan-he closed this Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant